package abstractFactory;/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-07-24 10:50
 * @notify 管理北方农场的园丁
 * @version 1.0
 */

public class NorthernGardener implements Gardener {

    //    北方的水果
    public Fruit createFruit(String name) {
        return new NorthernFruit(name);
    }

    //北方的蔬菜
    public Veggie createVeggie(String name) {
        return new NorthernVeggie(name);
    }
}
